/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package ec.edu.ucacue.siop.dao.inventario;

import ec.edu.ucacue.siop.dao.GenericDAOImpl;
import ec.edu.ucacue.siop.modelo.inventario.Lote;

import java.math.BigDecimal;
import java.util.Calendar;

/**
 *
 * @author SIOP
 */
public class LoteDAOImpl extends GenericDAOImpl<Lote, BigDecimal> implements LoteDAO{
    
    public Lote create(Calendar fechaCreacion, float volumenInicial, float volumenActual){
        Lote clase=new Lote();
        clase.setFechaCreacion(fechaCreacion);
        clase.setVolumenInicial(volumenInicial);
        clase.setVolumenActual(volumenActual);
        return clase;
    }
}
